﻿<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Projectile Science" Height="486" Width="847" xmlns:bowmanCalc="clr-namespace:bowmanCalc;assembly=bowmanCalc" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Name="Window1" ResizeMode="CanResize" Icon="/bowman;component/misc/SMGP_pic.ico" BorderBrush="{DynamicResource border_brush}" BorderThickness="3,3,3,3" WindowStyle="SingleBorderWindow">
	<Window.Background>
        
		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FFFFFFFF" Offset="0.31"/>
			<GradientStop Color="#FFFFFFFF" Offset="0.795"/>
			<GradientStop Color="#FF8EEDFF" Offset="1"/>
			<GradientStop Color="#FFC9F6FF" Offset="0"/>
		</LinearGradientBrush>
        
	</Window.Background>
	<Window.Triggers>
	</Window.Triggers>
    <Grid>
        <Grid.RowDefinitions>
        </Grid.RowDefinitions>

    	<Viewbox Stretch="Uniform" Margin="0,0,0,53.064" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    		<Grid x:Name="battleField" Width="420" Height="200" >
    			<Viewbox HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="8" Height="10" Stretch="Uniform" Margin="10,0,0,0" x:Name="cannonbox1">
    				<Canvas x:Name="cannon1" Width="53.334" Height="66.666">
    					<Rectangle x:Name="Rectangle" Width="10.7778" Height="10.8889" Canvas.Left="19.9444" Canvas.Top="40.3333" Stretch="Fill" StrokeThickness="1.33333" StrokeLineJoin="Round" Stroke="#FF232323" Fill="#FF000000"/>
    					<Path x:Name="cannonPath1" Width="38.4659" Height="38.1155" Canvas.Left="3.49961" Canvas.Top="11.9427" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FF000000" Data="F1 M 3.49996,32.6554C 3.61049,23.1277 29.9105,12.1112 38.4,11.9446C 46.8894,11.778 37.5683,22.4612 37.4578,31.9889C 37.3473,41.5167 46.4473,49.889 37.9579,50.0556C 29.4684,50.2223 3.38945,42.1832 3.49996,32.6554 Z " RenderTransformOrigin="0.5,0.5">
    						<Path.RenderTransform>
    							<TransformGroup>
    								<ScaleTransform ScaleX="1" ScaleY="1"/>
    								<SkewTransform AngleX="0" AngleY="0"/>
    								<RotateTransform Angle="0"/>
    								<TranslateTransform X="0" Y="0"/>
    							</TransformGroup>
    						</Path.RenderTransform>
    					</Path>
    					<Path x:Name="Path_0" Width="53.3333" Height="16.1111" Canvas.Left="0" Canvas.Top="50.5556" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FF000000" Data="F1 M 0,66.6667L 53.3333,66.6667L 45.6109,50.5556L 7.83333,50.5556L 0,66.6667 Z "/>
    				</Canvas>
    			</Viewbox>
    			<Viewbox HorizontalAlignment="Right" Margin="0,0,10,0" VerticalAlignment="Bottom" Width="8" Height="10" Stretch="Uniform" RenderTransformOrigin="0.5,0.5" x:Name="cannonbox2">
    				<Viewbox.RenderTransform>
    					<TransformGroup>
    						<ScaleTransform ScaleX="-1" ScaleY="1"/>
    						<SkewTransform AngleX="0" AngleY="0"/>
    						<RotateTransform Angle="0"/>
    						<TranslateTransform X="0" Y="0"/>
    					</TransformGroup>
    				</Viewbox.RenderTransform>
    				<Canvas x:Name="cannon2" Width="53.334" Height="66.666">
    					<Rectangle x:Name="Rectangle1" Width="10.7778" Height="10.8889" Canvas.Left="19.9444" Canvas.Top="40.3333" Stretch="Fill" StrokeThickness="1.33333" StrokeLineJoin="Round" Stroke="#FF232323" Fill="#FF000000"/>
    					<Path x:Name="cannonPath2" Width="38.4659" Height="38.1155" Canvas.Left="3.49961" Canvas.Top="11.9427" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FF000000" Data="F1 M 3.49996,32.6554C 3.61049,23.1277 29.9105,12.1112 38.4,11.9446C 46.8894,11.778 37.5683,22.4612 37.4578,31.9889C 37.3473,41.5167 46.4473,49.889 37.9579,50.0556C 29.4684,50.2223 3.38945,42.1832 3.49996,32.6554 Z " RenderTransformOrigin="0.5,0.5">
    						<Path.RenderTransform>
    							<TransformGroup>
    								<ScaleTransform ScaleX="1" ScaleY="1"/>
    								<SkewTransform AngleX="0" AngleY="0"/>
    								<RotateTransform Angle="0"/>
    								<TranslateTransform X="0" Y="0"/>
    							</TransformGroup>
    						</Path.RenderTransform>
    					</Path>
    					<Path x:Name="Path_1" Width="53.3333" Height="16.1111" Canvas.Left="0" Canvas.Top="50.5556" Stretch="Fill" StrokeThickness="1" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FF000000" Data="F1 M 0,66.6667L 53.3333,66.6667L 45.6109,50.5556L 7.83333,50.5556L 0,66.6667 Z "/>
    				</Canvas>
    			</Viewbox>
    			<Ellipse Fill="#FF000000" Stroke="#FF000000" HorizontalAlignment="Left" Margin="10,0,0,2.5" Width="5" StrokeThickness="0" Height="5" VerticalAlignment="Bottom" x:Name="arrow" Visibility="Hidden"/>
    		</Grid>
    	</Viewbox>
    	<StackPanel x:Name="StackPanel1" Orientation="Horizontal" Height="53.064" VerticalAlignment="Bottom" d:LayoutOverrides="GridBox" Margin="0,0,0,0" d:IsLocked="True">
    		<Button Height="23" x:Name="fire" Width="75" Content="Fire!" IsDefault="True"/>
    		<Label VerticalAlignment="Center" x:Name="AL" Content="angle"/>
    		<TextBox Width="Auto" Height="Auto" Text="0" TextWrapping="Wrap" VerticalAlignment="Center" x:Name="angle"/>
    		<Label Content="speed" VerticalAlignment="Center" x:Name="SL"/>
    		<TextBox Text="0" TextWrapping="Wrap" VerticalAlignment="Center" x:Name="speed"/>
    	</StackPanel>
    	<Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="About" d:LayoutOverrides="Width, Height, GridBox" Margin="0,0,8,15.552" x:Name="about" RenderTransformOrigin="0.819,0.16" d:IsLocked="True" />
    	<Button HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="Locations" d:LayoutOverrides="Width, Height" Margin="0,0,50.68,15.552" x:Name="info" d:IsLocked="True"/>
    </Grid>
</Window>
